package com.bosssoft.user.permission.center.serve.pojo.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 描述: 新增/修改角色请求实体类
 * 作者: lljm
 * 日期: 2024/6/11
 */


@ApiModel("角色模块请求实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleDTO {

    @ApiModelProperty("角色id")
    @JsonSerialize(using= ToStringSerializer.class)
    private  Long id;


    @ApiModelProperty("角色名称")
    private String name;


    @ApiModelProperty("角色编码")
    private String code;

    @ApiModelProperty("角色备注")
    private String remark;


    @ApiModelProperty("角色状态")
    private Byte status;

    @ApiModelProperty("租户id")
    private Long tenantId;

    @ApiModelProperty("组织id")
    private Long orgId;

    @ApiModelProperty("公司id")
    private Long companyId;

    @ApiModelProperty("创建人")
    private Long createdBy;












}
